package com.itqf.utils;


import com.itqf.annotation.RequiresPermissionsDesc;
import org.apache.shiro.authz.annotation.RequiresPermissions;

/**
 * 权限自定义封装实体类
 * 这里面的属性全都是annotation注解对象
 */

public class Permission {

	//权限字符串注解 shiro的权限注解
	private RequiresPermissions requiresPermissions;

	//权限描述字符串注解
	private RequiresPermissionsDesc requiresPermissionsDesc;

	//POST /admin/admin/delete
	private String api;


	public RequiresPermissions getRequiresPermissions() {
		return requiresPermissions;
	}

	public void setRequiresPermissions(RequiresPermissions requiresPermissions) {
		this.requiresPermissions = requiresPermissions;
	}

	public RequiresPermissionsDesc getRequiresPermissionsDesc() {
		return requiresPermissionsDesc;
	}

	public void setRequiresPermissionsDesc(RequiresPermissionsDesc requiresPermissionsDesc) {
		this.requiresPermissionsDesc = requiresPermissionsDesc;
	}

	public String getApi() {
		return api;
	}

	public void setApi(String api) {
		this.api = api;
	}
}
